package com.japancompany.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.japancompany.entity.User;

public interface UserService extends IService<User> {
    
    User getByUsername(String username);
    
    User getByEmail(String email);
    
    boolean register(User user);
    
    boolean updatePassword(Long userId, String oldPassword, String newPassword);
    
    boolean updateProfile(User user);
}